/*! tether-shepherd 1.8.1 */ (function(root, factory) { if (typeof define === 'function' && define.amd) { define(["tether"], factory); } else if (typeof exports === 'object') { module.exports = factory(require('tether')); } else { root.Shepherd = factory(root.Tether); } }(this, function(Tether) { /* global Tether */ 'use strict'; var _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })(); var _get = function get(_x5, _x6, _x7) { var _again = true; _function: while (_again) { var object = _x5, property = _x6, receiver = _x7; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x5 = parent; _x6 = property; _x7 = receiver; _again = true; desc = parent = undefined; continue _function; } } else if ('value' in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } }; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } var _Tether$Utils = Tether.Utils; var Evented = _Tether$Utils.Evented; var addClass = _Tether$Utils.addClass; var extend = _Tether$Utils.extend; var hasClass = _Tether$Utils.hasClass; var removeClass = _Tether$Utils.removeClass; var uniqueId = _Tether$Utils.uniqueId; var Shepherd = new Evented(); function isUndefined(obj) { return typeof obj === 'undefined'; }; function isArray(obj) { return obj && obj.constructor === Array; }; function isObject(obj) { return obj && obj.constructor === Object; }; function isObjectLoose(obj) { return typeof obj === 'object'; }; var ATTACHMENT = { 'top right': 'bottom left', 'top left': 'bottom right', 'top center': 'bottom center', 'middle right': 'middle left', 'middle left': 'middle right', 'middle center': 'middle center', 'bottom left': 'top right', 'bottom right': 'top left', 'bottom center': 'top center', 'top': 'bottom center', 'left': 'middle right', 'right': 'middle left', 'bottom': 'top center', 'center': 'middle center', 'middle': 'middle center' }; function createFromHTML(html) { var el = document.createElement('div'); el.innerHTML = html; return el.children[0]; } function matchesSelector(el, sel) { var matches = undefined; if (!isUndefined(el.matches)) { matches = el.matches; } else if (!isUndefined(el.matchesSelector)) { matches = el.matchesSelector; } else if (!isUndefined(el.msMatchesSelector)) { matches = el.msMatchesSelector; } else if (!isUndefined(el.webkitMatchesSelector)) { matches = el.webkitMatchesSelector; } else if (!isUndefined(el.mozMatchesSelector)) { matches = el.mozMatchesSelector; } else if (!isUndefined(el.oMatchesSelector)) { matches = el.oMatchesSelector; } return matches.call(el, sel); } var positionRe = /^(.+) (top|left|right|bottom|center|\[[a-z ]+\])$/; function parsePosition(str) { if (isObjectLoose(str)) { if (str.hasOwnProperty("element") && str.hasOwnProperty("on")) { return str; } return null; } var matches = positionRe.exec(str); if (!matches) { return null; } var on = matches[2]; if (on[0] === '[') { on = on.substring(1, on.length - 1); } return { 'element': matches[1], 'on': on }; } function parseShorthand(obj, props) { if (obj === null || isUndefined(obj)) { return obj; } else if (isObjectLoose(obj)) { return obj; } var vals = obj.split(' '); var out = {}; var j = props.length - 1; for (var i = vals.length - 1; i >= 0; i--) { if (j === 0) { out[props[j]] = vals.slice(0, i + 1).join(' '); break; } else { out[props[j]] = vals[i]; } j--; } return out; } var Step = (function (_Evented) { _inherits(Step, _Evented); function Step(tour, options) { _classCallCheck(this, Step); _get(Object.getPrototypeOf(Step.prototype), 'constructor', this).call(this, tour, options); this.tour = tour; this.bindMethods(); this.setOptions(options); return this; } _createClass(Step, [{ key: 'bindMethods', value: function bindMethods() { var _this = this; var methods = ['_show', 'show', 'hide', 'isOpen', 'cancel', 'complete', 'scrollTo', 'destroy', 'render']; methods.map(function (method) { _this[method] = _this[method].bind(_this); }); } }, { key: 'setOptions', value: function setOptions() { var options = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0]; this.options = options; this.destroy(); this.id = this.options.id || this.id || 'step-' + uniqueId(); var when = this.options.when; if (when) { for (var _event in when) { if (({}).hasOwnProperty.call(when, _event)) { var handler = when[_event]; this.on(_event, handler, this); } } } // Button configuration var buttonsJson = JSON.stringify(this.options.buttons); var buttonsAreDefault = isUndefined(buttonsJson) || buttonsJson === "true"; var buttonsAreEmpty = buttonsJson === "{}" || buttonsJson === "[]" || buttonsJson === "null" || buttonsJson === "false"; var buttonsAreArray = !buttonsAreDefault && isArray(this.options.buttons); var buttonsAreObject = !buttonsAreDefault && isObject(this.options.buttons); // Show default button if undefined or 'true' if (buttonsAreDefault) { this.options.buttons = [{ text: 'Next', action: this.tour.next, classes: 'btn' }]; // Can pass in an object which will assume asingle button } else if (!buttonsAreEmpty && buttonsAreObject) { this.options.buttons = [this.options.buttons]; // Falsey/empty values or non-object values prevent buttons from rendering } else if (buttonsAreEmpty || !buttonsAreArray) { this.options.buttons = false; } } }, { key: 'getTour', value: function getTour() { return this.tour; } }, { key: 'bindAdvance', value: function bindAdvance() { var _this2 = this; // An empty selector matches the step element var _parseShorthand = parseShorthand(this.options.advanceOn, ['selector', 'event']); var event = _parseShorthand.event; var selector = _parseShorthand.selector; var handler = function handler(e) { if (!_this2.isOpen()) { return; } if (!isUndefined(selector)) { if (matchesSelector(e.target, selector)) { _this2.tour.next(); } } else { if (_this2.el && e.target === _this2.el) { _this2.tour.next(); } } }; // TODO: this should also bind/unbind on show/hide document.body.addEventListener(event, handler); this.on('destroy', function () { return document.body.removeEventListener(event, handler); }); } }, { key: 'getAttachTo', value: function getAttachTo() { var opts = parsePosition(this.options.attachTo) || {}; var returnOpts = extend({}, opts); if (typeof opts.element === 'string') { // Can't override the element in user opts reference because we can't // guarantee that the element will exist in the future. returnOpts.element = document.querySelector(opts.element); if (!returnOpts.element) { console.error('The element for this Shepherd step was not found ' + opts.element); } } return returnOpts; } }, { key: 'setupTether', value: function setupTether() { if (isUndefined(Tether)) { throw new Error("Using the attachment feature of Shepherd requires the Tether library"); } var opts = this.getAttachTo(); var attachment = ATTACHMENT[opts.on] || ATTACHMENT.right; if (isUndefined(opts.element)) { opts.element = 'viewport'; attachment = 'middle center'; } var tetherOpts = { classPrefix: 'shepherd', element: this.el, constraints: [{ to: 'window', pin: true, attachment: 'together' }], target: opts.element, offset: opts.offset || '0 0', attachment: attachment }; if (this.tether) { this.tether.destroy(); } this.tether = new Tether(extend(tetherOpts, this.options.tetherOptions)); } }, { key: 'show', value: function show() { var _this3 = this; if (!isUndefined(this.options.beforeShowPromise)) { var beforeShowPromise = this.options.beforeShowPromise(); if (!isUndefined(beforeShowPromise)) { return beforeShowPromise.then(function () { return _this3._show(); }); } } this._show(); } }, { key: '_show', value: function _show() { var _this4 = this; this.trigger('before-show'); if (!this.el) { this.render(); } addClass(this.el, 'shepherd-open'); document.body.setAttribute('data-shepherd-step', this.id); this.setupTether(); if (this.options.scrollTo) { setTimeout(function () { _this4.scrollTo(); }); } this.trigger('show'); } }, { key: 'hide', value: function hide() { this.trigger('before-hide'); removeClass(this.el, 'shepherd-open'); document.body.removeAttribute('data-shepherd-step'); if (this.tether) { this.tether.destroy(); } this.tether = null; this.trigger('hide'); } }, { key: 'isOpen', value: function isOpen() { return this.el && hasClass(this.el, 'shepherd-open'); } }, { key: 'cancel', value: function cancel() { this.tour.cancel(); this.trigger('cancel'); } }, { key: 'complete', value: function complete() { this.tour.complete(); this.trigger('complete'); } }, { key: 'scrollTo', value: function scrollTo() { var _getAttachTo = this.getAttachTo(); var element = _getAttachTo.element; if (!isUndefined(this.options.scrollToHandler)) { this.options.scrollToHandler(element); } else if (!isUndefined(element)) { element.scrollIntoView(); } } }, { key: 'destroy', value: function destroy() { if (!isUndefined(this.el) && this.el.parentNode) { this.el.parentNode.removeChild(this.el); delete this.el; } if (this.tether) { this.tether.destroy(); } this.tether = null; this.trigger('destroy'); } }, { key: 'render', value: function render() { var _this5 = this; if (!isUndefined(this.el)) { this.destroy(); } this.el = createFromHTML('
'); var content = document.createElement('div'); content.className = 'shepherd-content'; this.el.appendChild(content); var header = document.createElement('header'); content.appendChild(header); if (this.options.title) { header.innerHTML += '

' + this.options.title + '

'; this.el.className += ' shepherd-has-title'; } if (this.options.showCancelLink) { var link = createFromHTML(""); header.appendChild(link); this.el.className += ' shepherd-has-cancel-link'; this.bindCancelLink(link); } if (!isUndefined(this.options.text)) { (function () { var text = createFromHTML("
"); var paragraphs = _this5.options.text; if (typeof paragraphs === 'function') { paragraphs = paragraphs.call(_this5, text); } if (paragraphs instanceof HTMLElement) { text.appendChild(paragraphs); } else { if (typeof paragraphs === 'string') { paragraphs = [paragraphs]; } paragraphs.map(function (paragraph) { text.innerHTML += '

' + paragraph + '

'; }); } content.appendChild(text); })(); } if (this.options.buttons) { (function () { var footer = document.createElement('footer'); var buttons = createFromHTML(""); _this5.options.buttons.map(function (cfg) { var button = createFromHTML('
  • ' + cfg.text + ''); buttons.appendChild(button); _this5.bindButtonEvents(cfg, button.querySelector('a')); }); footer.appendChild(buttons); content.appendChild(footer); })(); } document.body.appendChild(this.el); this.setupTether(); if (this.options.advanceOn) { this.bindAdvance(); } } }, { key: 'bindCancelLink', value: function bindCancelLink(link) { var _this6 = this; link.addEventListener('click', function (e) { e.preventDefault(); _this6.cancel(); }); } }, { key: 'bindButtonEvents', value: function bindButtonEvents(cfg, el) { var _this7 = this; cfg.events = cfg.events || {}; if (!isUndefined(cfg.action)) { // Including both a click event and an action is not supported cfg.events.click = cfg.action; } for (var _event2 in cfg.events) { if (({}).hasOwnProperty.call(cfg.events, _event2)) { var handler = cfg.events[_event2]; if (typeof handler === 'string') { (function () { var page = handler; handler = function () { return _this7.tour.show(page); }; })(); } el.addEventListener(_event2, handler); } } this.on('destroy', function () { for (var _event3 in cfg.events) { if (({}).hasOwnProperty.call(cfg.events, _event3)) { var handler = cfg.events[_event3]; el.removeEventListener(_event3, handler); } } }); } }]); return Step; })(Evented); var Tour = (function (_Evented2) { _inherits(Tour, _Evented2); function Tour() { var _this8 = this; var options = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0]; _classCallCheck(this, Tour); _get(Object.getPrototypeOf(Tour.prototype), 'constructor', this).call(this, options); this.bindMethods(); this.options = options; this.steps = this.options.steps || []; // Pass these events onto the global Shepherd object var events = ['complete', 'cancel', 'hide', 'start', 'show', 'active', 'inactive']; events.map(function (event) { (function (e) { _this8.on(e, function (opts) { opts = opts || {}; opts.tour = _this8; Shepherd.trigger(e, opts); }); })(event); }); return this; } _createClass(Tour, [{ key: 'bindMethods', value: function bindMethods() { var _this9 = this; var methods = ['next', 'back', 'cancel', 'complete', 'hide']; methods.map(function (method) { _this9[method] = _this9[method].bind(_this9); }); } }, { key: 'addStep', value: function addStep(name, step) { if (isUndefined(step)) { step = name; } if (!(step instanceof Step)) { if (typeof name === 'string' || typeof name === 'number') { step.id = name.toString(); } step = extend({}, this.options.defaults, step); step = new Step(this, step); } else { step.tour = this; } this.steps.push(step); return this; } }, { key: 'removeStep', value: function removeStep(name) { var current = this.getCurrentStep(); for (var i = 0; i < this.steps.length; ++i) { var step = this.steps[i]; if (step.id === name) { if (step.isOpen()) { step.hide(); } step.destroy(); this.steps.splice(i, 1); break; } } if (current && current.id === name) { this.currentStep = undefined; if (this.steps.length) this.show(0);else this.hide(); } } }, { key: 'getById', value: function getById(id) { for (var i = 0; i < this.steps.length; ++i) { var step = this.steps[i]; if (step.id === id) { return step; } } } }, { key: 'getCurrentStep', value: function getCurrentStep() { return this.currentStep; } }, { key: 'next', value: function next() { var index = this.steps.indexOf(this.currentStep); if (index === this.steps.length - 1) { this.hide(index); this.trigger('complete'); this.done(); } else { this.show(index + 1, true); } } }, { key: 'back', value: function back() { var index = this.steps.indexOf(this.currentStep); this.show(index - 1, false); } }, { key: 'cancel', value: function cancel() { if (this.currentStep) { this.currentStep.hide(); } this.trigger('cancel'); this.done(); } }, { key: 'complete', value: function complete() { if (this.currentStep) { this.currentStep.hide(); } this.trigger('complete'); this.done(); } }, { key: 'hide', value: function hide() { if (this.currentStep) { this.currentStep.hide(); } this.trigger('hide'); this.done(); } }, { key: 'done', value: function done() { Shepherd.activeTour = null; removeClass(document.body, 'shepherd-active'); this.trigger('inactive', { tour: this }); } }, { key: 'show', value: function show() { var key = arguments.length <= 0 || arguments[0] === undefined ? 0 : arguments[0]; var forward = arguments.length <= 1 || arguments[1] === undefined ? true : arguments[1]; if (this.currentStep) { this.currentStep.hide(); } else { addClass(document.body, 'shepherd-active'); this.trigger('active', { tour: this }); } Shepherd.activeTour = this; var next = undefined; if (typeof key === 'string') { next = this.getById(key); } else { next = this.steps[key]; } if (next) { if (!isUndefined(next.options.showOn) && !next.options.showOn()) { var index = this.steps.indexOf(next); var nextIndex = forward ? index + 1 : index - 1; this.show(nextIndex, forward); } else { this.trigger('show', { step: next, previous: this.currentStep }); if (this.currentStep) { this.currentStep.hide(); } this.currentStep = next; next.show(); } } } }, { key: 'start', value: function start() { this.trigger('start'); this.currentStep = null; this.next(); } }]); return Tour; })(Evented); extend(Shepherd, { Tour: Tour, Step: Step, Evented: Evented }); return Shepherd; })); !function(t){var i=function(i,e){var n=t.extend({},t.fn.nivoSlider.defaults,e),a={currentSlide:0,currentImage:"",totalSlides:0,running:!1,paused:!1,stop:!1,controlNavEl:!1},o=t(i);o.data("nivo:vars",a).addClass("nivoSlider");var r=o.children();r.each((function(){var i=t(this),e="";i.is("img")||(i.is("a")&&(i.addClass("nivo-imageLink"),e=i),i=i.find("img:first"));var n=0===n?i.attr("width"):i.width(),o=0===o?i.attr("height"):i.height();""!==e&&e.css("display","none"),i.css("display","none"),a.totalSlides++})),n.randomStart&&(n.startSlide=Math.floor(Math.random()*a.totalSlides)),n.startSlide>0&&(n.startSlide>=a.totalSlides&&(n.startSlide=a.totalSlides-1),a.currentSlide=n.startSlide),t(r[a.currentSlide]).is("img")?a.currentImage=t(r[a.currentSlide]):a.currentImage=t(r[a.currentSlide]).find("img:first"),t(r[a.currentSlide]).is("a")&&t(r[a.currentSlide]).css("display","block");var s=t("").addClass("nivo-main-image");s.prop({src:a.currentImage.attr("src"),alt:a.currentImage.attr("alt")}).show(),o.append(s),t(window).resize((function(){o.children("img").width(o.width()),s.prop({src:a.currentImage.attr("src"),alt:a.currentImage.attr("alt")}),s.stop().height("auto"),t(".nivo-slice").remove(),t(".nivo-box").remove()})),o.append(t('
    '));var c=function(i){var e=t(".nivo-caption",o);if(a.currentImage.data("caption")){var n=a.currentImage.data("caption");"#"===n.substr(0,1)&&(n=t(n).html()),"block"===e.css("display")?setTimeout((function(){e.html(n)}),i.animSpeed):(e.html(n),e.stop().fadeIn(i.animSpeed))}else e.stop().fadeOut(i.animSpeed)};c(n);var l=0;if(!n.manualAdvance&&r.length>1&&(l=setInterval((function(){h(o,r,n,!1)}),n.pauseTime)),n.directionNav&&(o.append('
    '+n.prevText+''+n.nextText+"
    "),t(o).on("click","a.nivo-prevNav",(function(){if(a.running)return!1;clearInterval(l),l="",a.currentSlide-=2,h(o,r,n,"prev")})),t(o).on("click","a.nivo-nextNav",(function(){if(a.running)return!1;clearInterval(l),l="",h(o,r,n,"next")}))),n.controlNav){a.controlNavEl=t('
    '),o.after(a.controlNavEl);for(var d=0;d'+v.attr(')}else a.controlNavEl.append(''+(d+1)+"");t("a:eq("+a.currentSlide+")",a.controlNavEl).addClass("active"),t("a",a.controlNavEl).bind("click",(function(){return!a.running&&(!t(this).hasClass("active")&&(clearInterval(l),l="",s.prop({src:a.currentImage.attr("src"),alt:a.currentImage.attr("alt")}),a.currentSlide=t(this).attr("rels")-1,void h(o,r,n,"control")))}))}n.pauseOnHover&&o.hover((function(){a.paused=!0,clearInterval(l),l=""}),(function(){a.paused=!1,""!==l||n.manualAdvance||(l=setInterval((function(){h(o,r,n,!1)}),n.pauseTime))})),o.bind("nivo:animFinished",(function(){s.attr("src",a.currentImage.attr("src")).attr("alt",a.currentImage.attr("alt")),a.running=!1,t(r).each((function(){t(this).is("a")&&t(this).css("display","none")})),t(r[a.currentSlide]).is("a")&&t(r[a.currentSlide]).css("display","block"),""!==l||a.paused||n.manualAdvance||(l=setInterval((function(){h(o,r,n,!1)}),n.pauseTime)),n.afterChange.call(this)}));var m=function(i,e,n){t(n.currentImage).parent().is("a")&&t(n.currentImage).parent().css("display","block"),t('img[src="'+n.currentImage.attr("src")+'"]',i).not(".nivo-main-image,.nivo-control img").width(i.width()).css("visibility","hidden").show();for(var a=t('img[src="'+n.currentImage.attr("src")+'"]',i).not(".nivo-main-image,.nivo-control img").parent().is("a")?t('img[src="'+n.currentImage.attr("src")+'"]',i).not(".nivo-main-image,.nivo-control img").parent().height():t('img[src="'+n.currentImage.attr("src")+'"]',i).not(".nivo-main-image,.nivo-control img").height(),o=0;o').css({left:r*o+"px",width:i.width()-r*o+"px",height:a+"px",opacity:"0",overflow:"hidden"})):i.append(t('
    ').css({left:r*o+"px",width:r+"px",height:a+"px",opacity:"0",overflow:"hidden"}))}t(".nivo-slice",i).height(a),s.stop().animate({height:t(n.currentImage).height()},e.animSpeed)},p=function(i,e,n){t(n.currentImage).parent().is("a")&&t(n.currentImage).parent().css("display","block"),t('img[src="'+n.currentImage.attr("src")+'"]',i).not(".nivo-main-image,.nivo-control img").width(i.width()).css("visibility","hidden").show();for(var a=Math.round(i.width()/e.boxCols),o=Math.round(t('img[src="'+n.currentImage.attr("src")+'"]',i).not(".nivo-main-image,.nivo-control img").height()/e.boxRows),r=0;r').css({opacity:0,left:a*c+"px",top:o*r+"px",width:i.width()-a*c+"px"})),t('.nivo-box[name="'+c+'"]',i).height(t('.nivo-box[name="'+c+'"] img',i).height()+"px")):(i.append(t('
    ').css({opacity:0,left:a*c+"px",top:o*r+"px",width:a+"px"})),t('.nivo-box[name="'+c+'"]',i).height(t('.nivo-box[name="'+c+'"] img',i).height()+"px"));s.stop().animate({height:t(n.currentImage).height()},e.animSpeed)},h=function(i,e,n,a){var o=i.data("nivo:vars");if(o&&o.currentSlide===o.totalSlides-1&&n.lastSlide.call(this),(!o||o.stop)&&!a)return!1;n.beforeChange.call(this),a?("prev"===a&&s.prop({src:o.currentImage.attr("src"),alt:o.currentImage.attr("alt")}),"next"===a&&s.prop({src:o.currentImage.attr("src"),alt:o.currentImage.attr("alt")})):s.prop({src:o.currentImage.attr("src"),alt:o.currentImage.attr("alt")}),o.currentSlide++,o.currentSlide===o.totalSlides&&(o.currentSlide=0,n.slideshowEnd.call(this)),o.currentSlide<0&&(o.currentSlide=o.totalSlides-1),t(e[o.currentSlide]).is("img")?o.currentImage=t(e[o.currentSlide]):o.currentImage=t(e[o.currentSlide]).find("img:first"),n.controlNav&&(t("a",o.controlNavEl).removeClass("active"),t("a:eq("+o.currentSlide+")",o.controlNavEl).addClass("active")),c(n),t(".nivo-slice",i).remove(),t(".nivo-box",i).remove();var r=n.effect,l="";"random"===n.effect&&(l=new Array("sliceDownRight","sliceDownLeft","sliceUpRight","sliceUpLeft","sliceUpDown","sliceUpDownLeft","fold","fade","boxRandom","boxRain","boxRainReverse","boxRainGrow","boxRainGrowReverse"),void 0===(r=l[Math.floor(Math.random()*(l.length+1))])&&(r="fade")),-1!==n.effect.indexOf(",")&&(l=n.effect.split(","),void 0===(r=l[Math.floor(Math.random()*l.length)])&&(r="fade")),o.currentImage.attr("data-transition")&&(r=o.currentImage.attr("data-transition")),o.running=!0;var d=0,v=0,h="",f="",g="",x="";if("sliceDown"===r||"sliceDownRight"===r||"sliceDownLeft"===r)m(i,n,o),d=0,v=0,h=t(".nivo-slice",i),"sliceDownLeft"===r&&(h=t(".nivo-slice",i)._reverse()),h.each((function(){var e=t(this);e.css({top:"0px"}),v===n.slices-1?setTimeout((function(){e.animate({opacity:"1.0"},n.animSpeed,"",(function(){i.trigger("nivo:animFinished")}))}),100+d):setTimeout((function(){e.animate({opacity:"1.0"},n.animSpeed)}),100+d),d+=50,v++}));else if("sliceUp"===r||"sliceUpRight"===r||"sliceUpLeft"===r)m(i,n,o),d=0,v=0,h=t(".nivo-slice",i),"sliceUpLeft"===r&&(h=t(".nivo-slice",i)._reverse()),h.each((function(){var e=t(this);e.css({bottom:"0px"}),v===n.slices-1?setTimeout((function(){e.animate({opacity:"1.0"},n.animSpeed,"",(function(){i.trigger("nivo:animFinished")}))}),100+d):setTimeout((function(){e.animate({opacity:"1.0"},n.animSpeed)}),100+d),d+=50,v++}));else if("sliceUpDown"===r||"sliceUpDownRight"===r||"sliceUpDownLeft"===r){m(i,n,o),d=0,v=0;var w=0;h=t(".nivo-slice",i),"sliceUpDownLeft"===r&&(h=t(".nivo-slice",i)._reverse()),h.each((function(){var e=t(this);0===v?(e.css("top","0px"),v++):(e.css("bottom","0px"),v=0),w===n.slices-1?setTimeout((function(){e.animate({opacity:"1.0"},n.animSpeed,"",(function(){i.trigger("nivo:animFinished")}))}),100+d):setTimeout((function(){e.animate({opacity:"1.0"},n.animSpeed)}),100+d),d+=50,w++}))}else if("fold"===r)m(i,n,o),d=0,v=0,t(".nivo-slice",i).each((function(){var e=t(this),a=e.width();e.css({top:"0px",width:"0px"}),v===n.slices-1?setTimeout((function(){e.animate({width:a,opacity:"1.0"},n.animSpeed,"",(function(){i.trigger("nivo:animFinished")}))}),100+d):setTimeout((function(){e.animate({width:a,opacity:"1.0"},n.animSpeed)}),100+d),d+=50,v++}));else if("fade"===r)m(i,n,o),(f=t(".nivo-slice:first",i)).css({width:i.width()+"px"}),f.animate({opacity:"1.0"},2*n.animSpeed,"",(function(){i.trigger("nivo:animFinished")}));else if("slideInRight"===r)m(i,n,o),(f=t(".nivo-slice:first",i)).css({width:"0px",opacity:"1"}),f.animate({width:i.width()+"px"},2*n.animSpeed,"",(function(){i.trigger("nivo:animFinished")}));else if("slideInLeft"===r)m(i,n,o),(f=t(".nivo-slice:first",i)).css({width:"0px",opacity:"1",left:"",right:"0px"}),f.animate({width:i.width()+"px"},2*n.animSpeed,"",(function(){f.css({left:"0px",right:""}),i.trigger("nivo:animFinished")}));else if("boxRandom"===r)p(i,n,o),g=n.boxCols*n.boxRows,v=0,d=0,(x=u(t(".nivo-box",i))).each((function(){var e=t(this);v===g-1?setTimeout((function(){e.animate({opacity:"1"},n.animSpeed,"",(function(){i.trigger("nivo:animFinished")}))}),100+d):setTimeout((function(){e.animate({opacity:"1"},n.animSpeed)}),100+d),d+=20,v++}));else if("boxRain"===r||"boxRainReverse"===r||"boxRainGrow"===r||"boxRainGrowReverse"===r){p(i,n,o),g=n.boxCols*n.boxRows,v=0,d=0;var S=0,b=0,I=[];I[S]=[],x=t(".nivo-box",i),"boxRainReverse"!==r&&"boxRainGrowReverse"!==r||(x=t(".nivo-box",i)._reverse()),x.each((function(){I[S][b]=t(this),++b===n.boxCols&&(S++,b=0,I[S]=[])}));for(var y=0;y<2*n.boxCols;y++){for(var R=y,N=0;N=0&&R*{margin-block:0}.e-link-in-bio__heading{color:var(--e-link-in-bio-heading-color);font-size:36px;font-weight:600;line-height:42px}.e-link-in-bio__about-heading{color:var(--e-link-in-bio-about-heading-color);font-size:16px;font-weight:500;line-height:20px}.e-link-in-bio__title{color:var(--e-link-in-bio-title-color);font-size:20px;font-weight:500;line-height:35px}.e-link-in-bio__description{color:var(--e-link-in-bio-description-color);font-size:16px;font-weight:300;line-height:24px;margin-block-start:20px}.e-link-in-bio__bio--footer{margin-block-start:34px}.e-link-in-bio__bio--footer .e-link-in-bio__description{font-size:12px;font-weight:500;line-height:20px;margin-block-start:0}.e-link-in-bio__bio--footer .e-link-in-bio__about-heading+.e-link-in-bio__description{margin-block-start:3px}.e-link-in-bio__icons{display:flex;flex-flow:row wrap;gap:var(--e-link-in-bio-icon-gap);justify-content:center;margin-block-start:20px}.e-link-in-bio__icons i{font-size:var(--e-link-in-bio-icon-size)}.e-link-in-bio__icons.has-size-medium{--e-link-in-bio-icon-size:30px}.e-link-in-bio__icons.has-size-large{--e-link-in-bio-icon-gap:20px 24px;--e-link-in-bio-icon-size:35px}.e-link-in-bio__icon{display:flex}.e-link-in-bio__icon .e-link-in-bio__icon-link{align-items:center;color:inherit;display:flex;flex:1 1 auto;flex-direction:column}.e-link-in-bio__icon .e-link-in-bio__icon-link:active,.e-link-in-bio__icon .e-link-in-bio__icon-link:focus,.e-link-in-bio__icon .e-link-in-bio__icon-link:hover{color:inherit}.e-link-in-bio__icon .e-link-in-bio__icon-svg{align-items:center;color:var(--e-link-in-bio-icon-color);display:flex;justify-content:center}.e-link-in-bio__icon svg{fill:currentColor;height:var(--e-link-in-bio-icon-size)}.e-link-in-bio__icon i{font-size:var(--e-link-in-bio-icon-size)}.e-link-in-bio__icon .e-link-in-bio__icon-label{font-size:14px;font-weight:500;line-height:20px;text-align:center}.e-link-in-bio__image-links{display:grid;gap:var(--e-link-in-bio-image-links-gap);grid-template-columns:repeat(var(--e-link-in-bio-image-links-columns,2),minmax(0,1fr));grid-template-rows:auto;margin-block-start:24px}.e-link-in-bio__image-links.has-1-columns{--e-link-in-bio-image-links-columns:1;--e-link-in-bio-image-links-gap:14px}.e-link-in-bio__image-links.has-3-columns{--e-link-in-bio-image-links-columns:3;--e-link-in-bio-image-links-gap:5px}.e-link-in-bio__image-links .e-link-in-bio__image-links-link{display:grid}.e-link-in-bio__image-links img.e-link-in-bio__image-links-img{aspect-ratio:1;border-color:var(--e-link-in-bio-image-links-border-color);border-style:var(--e-link-in-bio-image-links-border-style);border-width:var(--e-link-in-bio-image-links-border-width);display:block;height:var(--e-link-in-bio-image-links-height,auto);-o-object-fit:cover;object-fit:cover;width:100%}.e-link-in-bio__ctas{display:grid;gap:var(--e-link-in-bio-ctas-gap);grid-template-columns:minmax(0,1fr);grid-template-rows:auto;margin-block-start:31px}.e-link-in-bio__ctas.has-type-link{--e-link-in-bio-ctas-gap:10px;justify-items:center}.e-link-in-bio__ctas.has-type-divider{--e-link-in-bio-ctas-gap:0}.e-link-in-bio__ctas .e-link-in-bio__cta{display:flex;font-size:16px;font-weight:500;line-height:20px}.e-link-in-bio__ctas .e-link-in-bio__cta,.e-link-in-bio__ctas .e-link-in-bio__cta:active,.e-link-in-bio__ctas .e-link-in-bio__cta:focus,.e-link-in-bio__ctas .e-link-in-bio__cta:hover{color:var(--e-link-in-bio-ctas-text-color)}.e-link-in-bio__ctas .e-link-in-bio__cta-image{flex:0 0 min(50%,140px)}.e-link-in-bio__ctas .e-link-in-bio__cta-image-element{aspect-ratio:140/100;display:block;height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.e-link-in-bio__ctas .e-link-in-bio__cta-text{align-items:center;display:flex;flex:1 1 auto;justify-content:center}.e-link-in-bio__ctas .e-link-in-bio__cta.is-type-button{border-radius:var(--e-link-in-bio-ctas-border-radius);overflow:hidden}.e-link-in-bio__ctas .e-link-in-bio__cta.is-type-button.has-border{--e-link-in-bio-ctas-border-style:solid;border-color:var(--e-link-in-bio-ctas-border-color);border-style:var(--e-link-in-bio-ctas-border-style);border-width:var(--e-link-in-bio-ctas-border-width)}.e-link-in-bio__ctas .e-link-in-bio__cta.is-type-button.has-corners-rounded{--e-link-in-bio-ctas-border-radius:20px}.e-link-in-bio__ctas .e-link-in-bio__cta.is-type-button.has-corners-round{--e-link-in-bio-ctas-border-radius:50px}.e-link-in-bio__ctas .e-link-in-bio__cta.is-type-button.has-corners-sharp{--e-link-in-bio-ctas-border-radius:0}.e-link-in-bio__ctas .e-link-in-bio__cta.is-type-button .e-link-in-bio__cta-text{background-color:var(--e-link-in-bio-ctas-background-color);padding-block-end:var(--e-link-in-bio-ctas-padding-block-end);padding-block-start:var(--e-link-in-bio-ctas-padding-block-start);padding-inline-end:var(--e-link-in-bio-ctas-padding-inline-end);padding-inline-start:var(--e-link-in-bio-ctas-padding-inline-start)}.e-link-in-bio__ctas .e-link-in-bio__cta.is-type-link{--e-link-in-bio-ctas-text-color:#467ff7;font-weight:700;justify-content:center;margin-block:17px}.e-link-in-bio .e-link-in-bio__content .e-link-in-bio__ctas .e-link-in-bio__cta.is-type-link{text-decoration:underline}.e-link-in-bio-var-2{--e-link-in-bio-gutter-block-end:35px;--e-link-in-bio-identity-image-cover-height:215px;--e-link-in-bio-identity-image-profile-width:130px;--e-link-in-bio-identity-image-profile-border-color:#fff;--e-link-in-bio-identity-image-profile-border-style:solid;--e-link-in-bio-identity-image-profile-border-width:3px}.e-link-in-bio-var-2 .e-link-in-bio__identity{grid-template-rows:1fr auto auto}.e-link-in-bio-var-2 .e-link-in-bio__identity .e-link-in-bio__identity-image-cover{grid-row:1/span 2}.e-link-in-bio-var-2 .e-link-in-bio__identity .e-link-in-bio__identity-image-profile{grid-row:2/span 2}.e-link-in-bio-var-2 .e-link-in-bio__identity .e-link-in-bio__identity-image-cover+.e-link-in-bio__identity-image-profile{margin-block:17px}.e-link-in-bio-var-2 .e-link-in-bio__icons{margin-block-start:35px}.e-link-in-bio-var-3{--e-link-in-bio-gutter-block-end:20px;--e-link-in-bio-ctas-border-radius:0;--e-link-in-bio-ctas-gap:8px}.e-link-in-bio-var-3 .e-link-in-bio__ctas .e-link-in-bio__cta.has-border{border:none}.e-link-in-bio-var-3 .e-link-in-bio__ctas .e-link-in-bio__cta.has-border .e-link-in-bio__cta-image{--e-link-in-bio-ctas-border-style:solid;border-color:var(--e-link-in-bio-ctas-border-color);border-style:var(--e-link-in-bio-ctas-border-style);border-width:var(--e-link-in-bio-ctas-border-width)}.e-link-in-bio-var-3 .e-link-in-bio__ctas .e-link-in-bio__cta.has-corners-round,.e-link-in-bio-var-3 .e-link-in-bio__ctas .e-link-in-bio__cta.has-corners-rounded{--e-link-in-bio-ctas-border-radius:0}.e-link-in-bio-var-4{--e-link-in-bio-ctas-text-color:#1c2448;--e-link-in-bio-ctas-background-color:transparent;--e-link-in-bio-ctas-divider-color:#1c2448;--e-link-in-bio-ctas-divider-width:1px;--e-link-in-bio-ctas-divider-style:solid;--e-link-in-bio-ctas-padding-inline-end:16px;--e-link-in-bio-ctas-padding-inline-start:16px}.e-link-in-bio-var-4 .e-link-in-bio__ctas{grid-gap:0;margin-block-end:28px;margin-block-start:28px}.e-link-in-bio-var-4 .e-link-in-bio__ctas .e-link-in-bio__cta{border-bottom:var(--e-link-in-bio-ctas-divider-width) var(--e-link-in-bio-ctas-divider-style) var(--e-link-in-bio-ctas-divider-color);font-size:24px;font-weight:600;line-height:42px}.e-link-in-bio-var-4 .e-link-in-bio__ctas .e-link-in-bio__cta.has-corners-rounded,.e-link-in-bio-var-5{--e-link-in-bio-ctas-border-radius:0}.e-link-in-bio-var-5{--e-link-in-bio-ctas-gap:20px 15px;--e-link-in-bio-ctas-padding-block-end:5px;--e-link-in-bio-ctas-padding-block-start:5px;--e-link-in-bio-ctas-padding-inline-end:7px;--e-link-in-bio-ctas-padding-inline-start:7px}.e-link-in-bio-var-5 .e-link-in-bio__ctas.has-type-button{grid-template-columns:repeat(2,minmax(0,100px));grid-template-rows:auto;justify-content:center}.e-link-in-bio-var-5 .e-link-in-bio__ctas .e-link-in-bio__cta.has-border{border:none}.e-link-in-bio-var-5 .e-link-in-bio__ctas .e-link-in-bio__cta.has-border .e-link-in-bio__cta-image{--e-link-in-bio-ctas-border-style:solid;border-color:var(--e-link-in-bio-ctas-border-color);border-style:var(--e-link-in-bio-ctas-border-style);border-width:var(--e-link-in-bio-ctas-border-width)}.e-link-in-bio-var-5 .e-link-in-bio__ctas .e-link-in-bio__cta.has-corners-round,.e-link-in-bio-var-5 .e-link-in-bio__ctas .e-link-in-bio__cta.has-corners-rounded{--e-link-in-bio-ctas-border-radius:0}.e-link-in-bio-var-5 .e-link-in-bio__ctas .e-link-in-bio__cta.is-type-button{flex-direction:column;font-size:14px}.e-link-in-bio-var-5 .e-link-in-bio__ctas .e-link-in-bio__cta.is-type-button .e-link-in-bio__cta-image{flex:0 0 auto;margin-bottom:4px}.e-link-in-bio-var-5 .e-link-in-bio__ctas .e-link-in-bio__cta.is-type-button .e-link-in-bio__cta-image-element{aspect-ratio:1;height:auto}.e-link-in-bio-var-5 .e-link-in-bio__identity-image-cover .e-link-in-bio__identity-image-element{-o-object-position:var(--e-link-in-bio-identity-image-profile-position);object-position:var(--e-link-in-bio-identity-image-profile-position)}.e-link-in-bio-var-7{--e-link-in-bio-icon-background-color:#467ff7;--e-link-in-bio-icon-color:#fff;--e-link-in-bio-icon-gap-col:10px;--e-link-in-bio-icon-gap-row:20px;--e-link-in-bio-icon-gap:var(--e-link-in-bio-icon-gap-row) 0;--e-link-in-bio-icon-text-color:inherit}.e-link-in-bio-var-7 .e-link-in-bio__identity .e-link-in-bio__identity-image-cover{height:var(--e-link-in-bio-identity-image-cover-height,auto)}.e-link-in-bio-var-7 .e-link-in-bio__icons{align-items:start;gap:var(--e-link-in-bio-icon-gap);margin-block-start:34px;margin-inline:auto;max-width:254px;width:100%}.e-link-in-bio-var-7 .e-link-in-bio__icons.has-size-large{--e-link-in-bio-icon-gap:var(--e-link-in-bio-icon-gap-row) 0}.e-link-in-bio-var-7 .e-link-in-bio__icon{flex:1 1 calc(100% / var(--e-link-in-bio-icon-columns));max-width:calc(100% / var(--e-link-in-bio-icon-columns));padding-inline:calc(var(--e-link-in-bio-icon-gap-col) / 2)}.e-link-in-bio-var-7 .e-link-in-bio__icon-svg{aspect-ratio:1;background-color:var(--e-link-in-bio-icon-background-color);border-radius:100%;height:calc(var(--e-link-in-bio-icon-size) + 30px);padding:15px}.e-link-in-bio-var-7 .e-link-in-bio__icon{--e-link-in-bio-icon-border-style:solid}.e-link-in-bio-var-7 .e-link-in-bio__icon.has-border .e-link-in-bio__icon-svg{border-color:var(--e-link-in-bio-icon-border-color);border-style:var(--e-link-in-bio-icon-border-style);border-width:var(--e-link-in-bio-icon-border-width);height:calc(var(--e-link-in-bio-icon-size) + 30px + var(--e-link-in-bio-icon-border-width) * 2)}.e-link-in-bio-var-7 .e-link-in-bio__icon-label{color:var(--e-link-in-bio-icon-text-color)}.e-link-in-bio-var-7 .e-link-in-bio__ctas{margin-block-start:34px}{"code":"rest_no_route","message":"No route was found matching the URL and request method.","data":{"status":404}}